package TransactionImplementation

//更改地址事务
//引入类
import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
)

//结构体
type ChangeAddressTransaction struct {
	AbstractTransaction.ChangeEmployeeTransaction
	itsAddress string
}

//更改地址
func (c *ChangeAddressTransaction) Change(e *Model.Employee) {
	//设置地址
	e.SetAddress(c.itsAddress)
}
